<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/BSP/dev_jpeg.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_4ca18d753a70f6eada20fde478bd3fc8.html">BSP</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">dev_jpeg.h</div></div>
</div><!--header-->
<div class="contents">
<a href="dev__jpeg_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span> </div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span><span class="preprocessor">#ifndef __DEV_JPEG_H__</span></div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span><span class="preprocessor">#define __DEV_JPEG_H__</span></div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno">   24</span> </div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span><span class="preprocessor">#include &quot;SWM341.h&quot;</span></div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span><span class="preprocessor">#include &quot;<a class="code" href="version_8h.html">version.h</a>&quot;</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span><span class="preprocessor">#include &quot;<a class="code" href="jfif__parser_8h.html">jfif_parser.h</a>&quot;</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span> </div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span><span class="keyword">extern</span> uint8_t <a class="code hl_variable" href="dev__jpeg_8h.html#a134ecf44573e0f7204be01b09c1e48bb">JPEG_Decoder_Buff</a>[512 * 1024<span class="comment">/*LCD_HDOT * LCD_VDOT * LCD_FMT*/</span>];</div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span> </div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>uint8_t <a class="code hl_function" href="dev__jpeg_8h.html#a1cbc17a98f22c1c19a7d33c85a14fccd">jpeg_decode_isbusy</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span> </div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span><span class="keywordtype">void</span> *<a class="code hl_function" href="dev__jpeg_8h.html#ac0e9fc8534c961b9dbba6ad4b8e8b61e">jpeg_decode</a>(<span class="keyword">const</span> <span class="keywordtype">void</span> *buff, <span class="keyword">const</span> uint32_t size, </div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>                  <span class="keyword">const</span> jpeg_outset_t *jpeg_outset, <span class="keywordtype">void</span> *(*ram_malloc)(<span class="keywordtype">size_t</span> size), </div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>                  <span class="keyword">const</span> uint8_t wait);</div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span> </div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span><span class="keywordtype">void</span> <a class="code hl_function" href="dev__jpeg_8h.html#a036588013ef5d04b04f06e8ecd22262e">jpeg_init</a>(<span class="keywordtype">void</span>);</div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span> </div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span><span class="preprocessor">#endif </span><span class="comment">//__DEV_JPEG_H__</span></div>
<div class="ttc" id="adev__jpeg_8h_html_a036588013ef5d04b04f06e8ecd22262e"><div class="ttname"><a href="dev__jpeg_8h.html#a036588013ef5d04b04f06e8ecd22262e">jpeg_init</a></div><div class="ttdeci">void jpeg_init(void)</div><div class="ttdoc">初始化 JPEG 硬件解码器模块</div><div class="ttdef"><b>Definition:</b> <a href="dev__jpeg_8c_source.html#l00168">dev_jpeg.c:168</a></div></div>
<div class="ttc" id="adev__jpeg_8h_html_a134ecf44573e0f7204be01b09c1e48bb"><div class="ttname"><a href="dev__jpeg_8h.html#a134ecf44573e0f7204be01b09c1e48bb">JPEG_Decoder_Buff</a></div><div class="ttdeci">uint8_t JPEG_Decoder_Buff[512 *1024]</div><div class="ttdoc">使用 JPEG 解码需要一块缓冲区, 大小视图片文件大小决定, 不能小于最大的那张 JPEG 图的大小, 只有在理论极坏情况下会接近原图大小, 因为 JPEG 编码利用人类视觉系统对色彩/高频的不敏感特...</div><div class="ttdef"><b>Definition:</b> <a href="dev__jpeg_8c_source.html#l00034">dev_jpeg.c:35</a></div></div>
<div class="ttc" id="adev__jpeg_8h_html_a1cbc17a98f22c1c19a7d33c85a14fccd"><div class="ttname"><a href="dev__jpeg_8h.html#a1cbc17a98f22c1c19a7d33c85a14fccd">jpeg_decode_isbusy</a></div><div class="ttdeci">uint8_t jpeg_decode_isbusy(void)</div><div class="ttdoc">JPEG 硬件解码忙查询</div><div class="ttdef"><b>Definition:</b> <a href="dev__jpeg_8c_source.html#l00057">dev_jpeg.c:57</a></div></div>
<div class="ttc" id="adev__jpeg_8h_html_ac0e9fc8534c961b9dbba6ad4b8e8b61e"><div class="ttname"><a href="dev__jpeg_8h.html#ac0e9fc8534c961b9dbba6ad4b8e8b61e">jpeg_decode</a></div><div class="ttdeci">void * jpeg_decode(const void *buff, const uint32_t size, const jpeg_outset_t *jpeg_outset, void *(*ram_malloc)(size_t size), const uint8_t wait)</div><div class="ttdoc">JPEG 硬件解码</div><div class="ttdef"><b>Definition:</b> <a href="dev__jpeg_8c_source.html#l00085">dev_jpeg.c:85</a></div></div>
<div class="ttc" id="ajfif__parser_8h_html"><div class="ttname"><a href="jfif__parser_8h.html">jfif_parser.h</a></div><div class="ttdoc">jpeg 图片 jfif 格式解析</div></div>
<div class="ttc" id="aversion_8h_html"><div class="ttname"><a href="version_8h.html">version.h</a></div><div class="ttdoc">版本/目标控制</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
